# $Id: PKGBUILD 78533 2012-10-20 10:17:22Z ebelanger $
# Maintainer: Chris Brannon <chris@the-brannons.com>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Contributor: Patrick Burroughs <celticmadman@gmail.com>

pkgname=flac123
pkgver=0.0.12
pkgrel=1
arch=('i686' 'x86_64')
license=('GPL2')
pkgdesc="A command-line program for playing FLAC audio files"
url="http://flac-tools.sourceforge.net/"
depends=('flac' 'libao' 'popt')
source=(http://downloads.sourceforge.net/flac-tools/${pkgname}-${pkgver}-release.tar.gz)
md5sums=('59dacb2584bbe9c61d046ce995108ac6')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  autoreconf --force --install
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}

# vim:set ts=2 sw=2 et:
